from Utils.router import router
from Utils.gy import kldata


@router.get('/gy/twoslide', tags=['客流车流数据'], summary='昨日此时客流、游逛深度、同比值、月度客流')
async def get_twoslide():
    thistimekl = kldata.get_daythistimekl()
    VisitDepth = kldata.get_VisitDepth()
    Percentage = kldata.get_klPercentage()
    Monthkl = kldata.get_Monthall()
    return {'thistimekl': thistimekl, 'VisitDepth': VisitDepth, 'Percentage': Percentage, 'Monthkl': Monthkl}
